package cn.edu.nju.freshdelivery.dao;

import java.util.List;

import cn.edu.nju.freshdelivery.model.Orderdetail;

public interface OrderdetailDAO {

	public void save(Orderdetail transientInstance);

	public void delete(Orderdetail persistentInstance);

	public Orderdetail findById(java.lang.Integer id);

	public List<Orderdetail> findByExample(Orderdetail instance);

	public List findByProperty(String propertyName, Object value);

	public List<Orderdetail> findByQuantity(Object quantity);

	public List findAll();

	public Orderdetail merge(Orderdetail detachedInstance);

}